package org.eden.karb.configuration;

/**
 * Service that gets a configuration.
 *
 * @author trsimoes
 */
public interface ConfigurationService {

    /**
     * Gets a property by its' key.
     *
     * @param key configuration key
     * @param clazz configuration value class
     * @param <T> generic type
     * @return configuration value
     */
    <T> T get(Configuration key, Class<T> clazz);
}
